import {TaskPoolTaskStatus} from "./TaskPoolTaskStatus";

export class TaskInfo {
    get serialId(): number {
        return this._serialId;
    }

    get priority(): number {
        return this._priority;
    }

    get status(): TaskPoolTaskStatus {
        return this._status;
    }

    get description(): string {
        return this._description;
    }

    private readonly _serialId:number;
    private readonly _priority:number;
    private readonly _status:TaskPoolTaskStatus;
    private readonly _description:string;

    constructor(serialId:number,priority:number,status:TaskPoolTaskStatus,description:string) {
        this._serialId = serialId;
        this._priority = priority;
        this._status = status;
        this._description = description;

    }


}